/* $RCSFile: ImageStr.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/AddonNice.ImageSettings/ImageStr.cs $
 * $log$
 * Revision 7 2010/08/09 09:44:02  christian.surieux
 *   Added Log to cs sources files
 */

using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Text;


namespace AddonNice.CRMImage
{

	/// <summary>
	/// Constants for CRMImage package
	/// </summary>
    public class ImStr
	{
        #region resources names

        public const string ResourceFile            =  "ResourcesIMGMAN";
        public const string ResourceItem            =  "ResourcesIMG";
        
        #endregion resources names

        public const string adnimage                =   "adn_image";
        public const string adnimagename            =   "adn_name";
        public const string ImageDisplayName        =   "Image";
        public const string ImageDisplayColName     =   "Images";
        public const string ImagePrimaryDisplayName =   "Name";
        public const int ImagePrimaryMaxLen         =   100;
        public const string adnimageid              =   "adn_imageid";
        public const string adnexternalid           =   "adn_externalid";
        public const string adnimagelibid           =   "adn_imagelibid";
        public const string adncategory             =   "adn_category";
        public const string adnthumbnail            =   "adn_thumbnail";
        public const int ImageThumbnailMaxLen       =   500;


        public const string CRMImageSettings        =   "CRM_IMAGE_SETTINGS";

        #region modules categories
        
        public const string IMAGE_MOD_CAT           =   "IMAGE_MOD_CAT";
        public const string ImageModuleCat          =   "Image";

        #endregion modules categories
    
        #region Special Guids

        public const string CRMImageGuid            =   "{D76D2022-5C9F-4923-B187-A65D9DC04A06}";
        public const string CRMImageSingleGuid      =   "{02287BDB-1B05-41b4-85C9-3834A8CCCE57}";
        public const string CRMImageBookGuid        =   "{661EC290-CADF-4341-976F-854D366B0C3B}";
        public const string CRMAddImageGuid         =   "{59490794-4C15-476a-B2AD-1B973258295E}";
        
        #endregion Special Guids

        #region const strings for internal settings

        public const string RepeatDirection	        = "REPEATDIRECTION";
		public const string RepeatColumns	        = "REPEATCOLUMNS";
		public const string PicturePerPage	        = "PICTURESPERPAGE";
		public const string PicturePerPageDetail    = "PICTURESPERPAGEDETAIL";
		public const string AllowBulkLoad	        = "ALLOWBULKLOAD";
		public const string CustomAlbumPath	        = "CUSTOM_ALBUMPATH";
        public const string ImageLibId              = "IMAGE_IMAGELIBID";
		public const string AlbumPath		        = "ALBUMPATH";
		public const string ThumbnailResize	        = "THUMBNAILRESIZE";
		public const string ThumbnailWidth	        = "THUMBNAILWIDTH";
		public const string ThumbnailHeight	        = "THUMBNAILHEIGHT";
		public const string OriginalResize	        = "ORIGINALRESIZE";
		public const string OriginalWidth	        = "ORIGINALWIDTH";
		public const string OriginalHeight	        = "ORIGINALHEIGHT";
		public const string ThumbnailLayout	        = "THUMBNAILLAYOUT";
		public const string ImageLayout		        = "IMAGELAYOUT";
		public const string ImageFormat		        = "IMG_IMAGE_FORMAT";
		public const string IFramePageMenu          = "IMG_IFRAMEPAGEMENU";

		#endregion const strings for internal settings
        

        #region resources strings
        public const string PICTURES_INVALID_IMAGE_FILE =   "PICTURES_INVALID_IMAGE_FILE";
        public const string PICTURES_INVALID_DATA       =   "PICTURES_INVALID_DATA";
        public const string PICTURES_INVALID_ORDER      =   "PICTURES_INVALID_ORDER";
        public const string PICTURES_SPECIFY_FILENAME   =   "PICTURES_SPECIFY_FILENAME";
        #endregion resources strings

        #region DB values
        public const string DBMetadataXml               =   "MetadataXml";
        public const string DBCaption                   =   "Caption";
        public const string DBKeywords                  =   "Keywords";
        public const string DBCategory                  =   "Category";
        public const string DBShortDescription          =   "ShortDescription";
        public const string DBLongDescription           =   "LongDescription";
        public const string DBCrmImageId                =   "CrmImageId";
        public const string DBImageId                   =   "ImageId";
        public const string DBEntityName                =   "EntityName";
        public const string DBDisplayOrder              =   "DisplayOrder";
        public const string DBPage                      =   "Page";
        public const string DBRecordsPerPage            =   "RecordsPerPage";
        public const string DBCRMId                     =   "CRMId";

        
        public const string ATMetadataXml               =   "@MetadataXml";
        public const string ATCaption                   =   "@Caption";
        public const string ATKeywords                  =   "@Keywords";
        public const string ATCategory                  =   "@Category";
        public const string ATCrmImageId                =   "@CrmImageId";
        public const string ATShortDescription          =   "@ShortDescription";
        public const string ATLongDescription           =   "@LongDescription";
        public const string ATImageId                   =   "@ImageId";
        public const string ATEntityName                =   "@EntityName";
        public const string ATDisplayOrder              =   "@DisplayOrder";
        public const string ATPage                      =   "@Page";
        public const string ATRecordsPerPage            =   "@RecordsPerPage";
        public const string ATCRMId                     =   "@CRMId";

        #endregion DB values

        #region MetaData keys
        
        public const string MetaAlbumPath               =   "AlbumPath";
        public const string ItemID                      =   "ItemID";
        public const string ItemCrmID                   =   "ItemCrmID";
        public const string ImageDBID                   =   "ImageDBID";
        public const string ModuleID                    =   "ModuleID";
        public const string IsEditable                  =   "IsEditable";
        public const string IsDeletable                 =   "IsDeletable";
        public const string RequestEntityName           =   "RequestEntityName";
        public const string AttachedName                =   "AttachedName";
        public const string MetaDBEntityName            =   "DBEntityName";
        public const string EntityID                    =   "EntityID";
        public const string CatId                       =   "CatId";
        public const string CatFilterId                 =   "CatFilterId";
        public const string PageNum                     =   "PageNum";
        public const string ParentPageNum               =   "ParentPageNum";
        public const string SortKey                     =   "SortKey";
        public const string IsUnderCRM                  =   "IsUnderCRM";
        public const string ThumbnailFilename           =   "ThumbnailFilename";
        public const string ModifiedFilename            =   "ModifiedFilename";
        public const string MetaThumbnailWidth          =   "ThumbnailWidth";
        public const string MetaThumbnailHeight         =   "ThumbnailHeight";
        public const string MetaModifiedWidth           =   "ModifiedWidth";
        public const string MetaModifiedHeight          =   "ModifiedHeight";

        #endregion MetaData keys


    }
}
  
 